package com.xi.vo;

import lombok.Data;

import java.util.List;

@Data
public class EnglishDictVo {

    private String wordRank; // 单词序号
    private String headWord; // 单词
    private ContentVo content; // 单词
    private String bookId;

    @Data
    public static class ContentVo {
        private WordVo word; // 单词
    }

    @Data
    public static class WordVo {
        private String wordHead;
        private String wordId;
        private ContentVo2 content;
    }

    @Data
    public static class ContentVo2 {
//        private Object exam; // 太复杂了，懒得解析
        private Object sentence;
//        private Object syno; // 太复杂了，懒得解析
//        private Object phrase; // 太复杂了，懒得解析
//        private Object relWord; // 太复杂了，懒得解析
        private List<TransVo> trans; // 近义词
        private String usphone; // 美音音标
        private String ukphone; // 美音音标
    }

    @Data
    public static class TransVo {
        private String tranCn;
        private String tranOther;
    }

}
